<ul id="listap">
    <?php
    foreach ($lista->items as $key) {
        echo "<li>";
        echo "<a href='" . $key->imagen . "' class='imagen' title='" . utf8_encode($key->autor) . "'><img src='" . $key->imagen . "' alt='" . utf8_encode($key->autor) . "' /></a><div class='title_art'><a href='/lista/" . str_replace(' ', '+', utf8_encode($key->autor)) . "'>" . utf8_encode($key->autor) . "</a></div>";
        echo "<div class='generos'><span style='font-weight:bold;'>Genero(s):</span> ";
        foreach ($generos->generoArtista($key->id) as $genero) {
            if ($idGenero == $genero['id'])
                echo '<a href="/genre/' . $genero['id'] . '/' . $genero['generoUrl'] . '/"><b>' . htmlspecialchars(utf8_encode($genero['genero'])) . '</b></a>, ';
            else
                echo '<a href="/genre/' . $genero['id'] . '/' . $genero['generoUrl'] . '/">' . htmlspecialchars(utf8_encode($genero['genero'])) . '</a>, ';
        }
    }
    ?>
</ul>
<?php View::partial('paginators/classic', false, array('page' => $lista, 'url' => $controller_name . "/" . $idGenero . "/" . $title)); ?>